﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Camc.Quality.RecordTable.FormClass
{
    /// <summary>
    /// 多媒体
    /// </summary>
    public class MultiMediaEntity : FullAuditedEntity<Guid>
    {
        public MultiMediaEntity()
        {

        }
        public MultiMediaEntity(string photoNo, string photoNo_DisplayName, bool photoNo_Enable, bool photoNo_Show, int photoNo_Property, string secondPhotoNo = null, string secondPhotoNo_DisplayName = null, bool secondPhotoNo_Enable = false, bool secondPhotoNo_Show = false, int secondPhotoNo_Property = 0, string thirdPhotoNo = null, string thirdPhotoNo_DisplayName = null, bool thirdPhotoNo_Enable = false, bool thirdPhotoNo_Show = false, int thirdPhotoNo_Property = 0, string fourthPhotoNo = null, string fourthPhotoNo_DisplayName = null, bool fourthPhotoNo_Enable = false, bool fourthPhotoNo_Show = false, int fourthPhotoNo_Property = 0)
        {
            PhotoNo = photoNo;
            PhotoNo_DisplayName = photoNo_DisplayName;
            PhotoNo_Enable = photoNo_Enable;
            PhotoNo_Show = photoNo_Show;
            PhotoNo_Property = photoNo_Property;
            SecondPhotoNo = secondPhotoNo;
            SecondPhotoNo_DisplayName = secondPhotoNo_DisplayName;
            SecondPhotoNo_Enable = secondPhotoNo_Enable;
            SecondPhotoNo_Show = secondPhotoNo_Show;
            SecondPhotoNo_Property = secondPhotoNo_Property;
            ThirdPhotoNo = thirdPhotoNo;
            ThirdPhotoNo_DisplayName = thirdPhotoNo_DisplayName;
            ThirdPhotoNo_Enable = thirdPhotoNo_Enable;
            ThirdPhotoNo_Show = thirdPhotoNo_Show;
            ThirdPhotoNo_Property = thirdPhotoNo_Property;
            FourthPhotoNo = fourthPhotoNo;
            FourthPhotoNo_DisplayName = fourthPhotoNo_DisplayName;
            FourthPhotoNo_Enable = fourthPhotoNo_Enable;
            FourthPhotoNo_Show = fourthPhotoNo_Show;
            FourthPhotoNo_Property = fourthPhotoNo_Property;
        }
        #region 照相（摄像）编号
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string PhotoNo { get; protected set; }
        /// <summary>
        /// 所属部段列名
        /// </summary>
        public virtual string PhotoNo_DisplayName { get; protected set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool PhotoNo_Enable { get; protected set; } = false;
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool PhotoNo_Show { get; protected set; } = false;
        /// <summary>
        /// 是否合并
        /// </summary>
        public virtual int PhotoNo_Property { get; protected set; } = 0;
        #endregion

        #region 照相（摄像）编号2
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string SecondPhotoNo { get; protected set; }
        /// <summary>
        /// 所属部段列名
        /// </summary>
        public virtual string SecondPhotoNo_DisplayName { get; protected set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool SecondPhotoNo_Enable { get; protected set; } = false;
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool SecondPhotoNo_Show { get; protected set; } = false;
        /// <summary>
        /// 是否合并
        /// </summary>
        public virtual int SecondPhotoNo_Property { get; protected set; } = 0;
        #endregion

        #region 照相（摄像）编号3
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string ThirdPhotoNo { get; protected set; }
        /// <summary>
        /// 所属部段列名
        /// </summary>
        public virtual string ThirdPhotoNo_DisplayName { get; protected set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool ThirdPhotoNo_Enable { get; protected set; } = false;
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool ThirdPhotoNo_Show { get; protected set; } = false;
        /// <summary>
        /// 是否合并
        /// </summary>
        public virtual int ThirdPhotoNo_Property { get; protected set; } = 0;
        #endregion

        #region 照相（摄像）编号4
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string FourthPhotoNo { get; protected set; }
        /// <summary>
        /// 所属部段列名
        /// </summary>
        public virtual string FourthPhotoNo_DisplayName { get; protected set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool FourthPhotoNo_Enable { get; protected set; } = false;
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool FourthPhotoNo_Show { get; protected set; } = false;
        /// <summary>
        /// 是否合并
        /// </summary>
        public virtual int FourthPhotoNo_Property { get; protected set; } = 0;
        #endregion

        public void SetMultiMedia(string photoNo, string photoNo_DisplayName, bool photoNo_Enable, bool photoNo_Show, int photoNo_Property)
        {
            PhotoNo = photoNo;
            PhotoNo_DisplayName = photoNo_DisplayName;
            PhotoNo_Enable = photoNo_Enable;
            PhotoNo_Show = photoNo_Show;
            PhotoNo_Property = photoNo_Property;
        }

        public void SetSecondMultiMedia(string photoNo, string photoNo_DisplayName, bool photoNo_Enable, bool photoNo_Show, int photoNo_Property)
        {
            SecondPhotoNo = photoNo;
            SecondPhotoNo_DisplayName = photoNo_DisplayName;
            SecondPhotoNo_Enable = photoNo_Enable;
            SecondPhotoNo_Show = photoNo_Show;
            SecondPhotoNo_Property = photoNo_Property;
        }

        public void SetThirdMultiMedia(string photoNo, string photoNo_DisplayName, bool photoNo_Enable, bool photoNo_Show, int photoNo_Property)
        {
            ThirdPhotoNo = photoNo;
            ThirdPhotoNo_DisplayName = photoNo_DisplayName;
            ThirdPhotoNo_Enable = photoNo_Enable;
            ThirdPhotoNo_Show = photoNo_Show;
            ThirdPhotoNo_Property = photoNo_Property;
        }

        public void SetFourthMultiMedia(string photoNo, string photoNo_DisplayName, bool photoNo_Enable, bool photoNo_Show, int photoNo_Property)
        {
            FourthPhotoNo = photoNo;
            FourthPhotoNo_DisplayName = photoNo_DisplayName;
            FourthPhotoNo_Enable = photoNo_Enable;
            FourthPhotoNo_Show = photoNo_Show;
            FourthPhotoNo_Property = photoNo_Property;
        }
    }
}
